//
//  CommonDB.h
//  CommonDB
//
//  Created by Thuan on 6/4/14.
//  Copyright (c) 2014 Thuan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "sqlite3.h"
#import "Scores.h"
@interface CommonDB : NSObject {
    sqlite3 *pDatabase;
    int returnCode;
    int count;
}
-(BOOL) open;
-(void) close;
-(void) excuteQuery:(NSString*)sql;
-(NSMutableArray*)getAllScores;
- (int) insertScore: (Scores*) score;
+(CommonDB*) shared;
@end
